Klasse PresenterExceptionData
java.lang.Object
com.inet.pdfc.error.ExceptionData
com.inet.pdfc.error.PresenterExceptionData
- Alle implementierten Schnittstellen:
com.inet.error.HasErrorCode
A class to get the exceptions of a presenter. Since the presenters are executed after the actual
comparison, any internal error in the presenter may lead to a missing result but not to a failed
comparison task. If you want to make sure that all presenters were executed properly, you'll
have to
PDFComparer.getPresenterExceptions().-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungPresenterExceptionData(ExceptionData data, String presenterName, com.inet.pdfc.util.Pair<String> documents) Creates an instance for aThrowable -
Methodenübersicht
Modifikator und TypMethodeBeschreibungReturns the file name of the first comparison documentReturns the name of the presenter that has thrown an exception.Returns the file name of the second comparison documenttoString()Von Klasse geerbte Methoden ExceptionData
equals, getErrorClass, getErrorCode, getMessage, getStack
-
Konstruktordetails
-
PresenterExceptionData
public PresenterExceptionData(ExceptionData data, String presenterName, com.inet.pdfc.util.Pair<String> documents) Creates an instance for aThrowable- Parameter:
data- exception datapresenterName- the name for the presenter, that throw an exceptiondocuments- the files for the first and second comparision documents- Seit:
- 5.0
-
-
Methodendetails
-
getPresenterName
Returns the name of the presenter that has thrown an exception. This value is equal to the value returned byNamedExtension.getExtensionName().- Gibt zurück:
- the name of the presenter that has thrown an exception
- Seit:
- 5.0
-
getFirstDocument
Returns the file name of the first comparison document- Gibt zurück:
- the file name of the first comparison document
- Seit:
- 5.0
-
getSecondDocument
Returns the file name of the second comparison document- Gibt zurück:
- the file name of the second comparison document
- Seit:
- 5.0
-
toString
- Setzt außer Kraft:
toStringin KlasseExceptionData
-